package com.cherrish.demo.framework;

import lombok.Data;

import java.io.Serializable;

/**
 * @author cherrish
 * @time 2019-03-20 16:05
 * @name Invocation
 * @desc:
 */
@Data
public class Invocation implements Serializable {
    private static final long serialVersionUID = 4326024601482603187L;
    private String interfaceName;
    private String methodName;
    private Object[] params;
    private Class[] paramTypes;

    public Invocation(String interfaceName, String methodName, Object[] params, Class[] paramTypes) {
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.params = params;
        this.paramTypes = paramTypes;
    }
}
